﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Press.MVC.Data;
using Press.MVC.Services;
namespace Press.MVC.Web.Controllers
{
    /// <summary>
    /// Class used for transferring data to the View
    /// </summary>
    public class BlogData
    {
        public BlogData() { }
        public BlogData(List<Blog> blogs, Blog blog, Post post, PostCategory postCategory, List<PostCategory> postCategories) //, Post post
        {
            this.Blogs = blogs;
            this.Blog = blog;
            this.Post = post;
            this.PostCategory = postCategory;
            this.PostCategories = postCategories;

            //this.P
        }

        public IList<Blog> Blogs;
        public Blog Blog { get; set; }
        public Post Post { get; set; }
        public PostComment PostComment { get; set; }
        public PostCategory PostCategory { get; set; }
        public IList<PostCategory> PostCategories { get; set; }
    }
}
